package org.dromara.bean.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.bean.domain.HisMember;
import org.dromara.bean.domain.model.HisRegionModel;
import org.dromara.bean.domain.vo.HisMemberVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 患者Mapper接口
 *
 * @author Lion Li
 * @date 2024-11-23
 */
public interface HisMemberMapper extends BaseMapperPlus<HisMember, HisMemberVo> {

    List<HisRegionModel> regionByAll(@Param("cityName")String cityName);


    /**
     * 获取地区列表
     *
     * @return
     */
    List<HisRegionModel> regionAll();

    HisRegionModel getByRegionCode(@Param("code") String code);
}
